package com.gmadmin.payload.auth;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author zhangliang
 * @version 1.0
 * @date 2021/1/26 16:33
 * 登录请求参数
 */
@ApiModel(value = "LoginRequest",description = "登录验证请求参数")
public class LoginRequest implements Serializable {


    @ApiModelProperty(value = "用户名",required = true)
    private String usernameOrPhone;

    @ApiModelProperty(value = "密码",required = true)
    private String password;

    /**
     * 记住我
     */
    @ApiModelProperty(value = "记住我",required = false)
    private Boolean rememberMe = false;

    /**
     *  验证码
     */
    @ApiModelProperty(value = "验证码",required = true)
    private String verificationCode;
    /**
     * 标识id
     */
    @ApiModelProperty(value = "唯一标识",required = true)
    private String uuid;

    public String getVerificationCode() {
        return verificationCode;
    }

    public void setVerificationCode(String verificationCode) {
        this.verificationCode = verificationCode;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getUsernameOrPhone() {
        return usernameOrPhone;
    }

    public void setUsernameOrPhone(String usernameOrPhone) {
        this.usernameOrPhone = usernameOrPhone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Boolean getRememberMe() {
        return rememberMe;
    }

    public void setRememberMe(Boolean rememberMe) {
        this.rememberMe = rememberMe;
    }

}
